<!DOCTYPE html>
<html lang="en">
	{{ template "head_program" . }}
	<body>
		{{ template "header" }}
		{{ template "nav" }}
		<main>
			<h2>{{.Name}}</h2>
			{{if gt (len .Versions) 1}}<ul>
				{{range $tag, $_ := .Versions}}<li>{{if $tag}}<a href="/p/{{$.Name}}/{{$tag}}">{{$tag}}</a>{{else}}<a href="/p/{{$.Name}}">v1</a>{{end}}</li>{{end}}
			</ul>{{end}}
			<code>{{.Source}}</code>

			<div>{{.Content}}</div>
		</main>
		{{ template "aside" . }}
	</body>
</html>
